package com.example.video.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * @since 2024-06-30
 */
@Data
public class Schedule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 分组id
     */
    private String role;

    /**
     * 形式：10:20。表示每日的定时时间
     */
    private String time;

    @Override
    public String toString() {
        return "Schedule{" +
            "id = " + id +
            ", role = " + role +
            ", time = " + time +
        "}";
    }
}
